﻿using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CSharp.Study.Test
{
    public class 语法练习
    {
        public static void Go()
        {
            string a = System.Environment.SystemDirectory;

            var tokenObj = JToken.Parse("[{\"a\":\"1\",\"b\":\"111\"},{\"a\":\"2\",\"b\":\"222\"}]") as JArray;
            var tokenObj2 = JToken.Parse("[{\"a\":\"1\",\"b\":\"111\"},{\"a\":\"2\",\"b\":\"222\"}]");

            bool t1 = tokenObj.HasValues;
            bool t2 = tokenObj2.HasValues;
        }
    }
}
